package com.pshedu.extend;

public class NodePade extends computer{
    private String color;

    public NodePade(String cpu, int memory, int disk, String brand) {
        super(cpu, memory, disk);
        this.color = brand;
    }

    public String getBrand() {
        return color;
    }

    public void setBrand(String brand) {
        this.color = brand;
    }
    public void printinfo(){
        System.out.println("NopdePade信息如下:");
        System.out.println(ret() + " " + "color:" + color);
    }
}
